package com.kristin.demo2.controller;

import org.example.simplestart.SimpleTool;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ExampleController {

    @Autowired
    private SimpleTool simpleTool;

    @RequestMapping("example")
    public String example() {
        simpleTool.simpleAction();
        return "kristin";
    }

}
